package swingxrcp.framework.model.environment;

import java.util.Locale;
import java.util.TimeZone;

/**
 * 服务器端信息
 *
 * @author liangfei
 *
 */
public class ServerSource {

	public ServerSource(Locale locale, TimeZone timeZone, String ip) {
		this.locale = locale;
		this.timeZone = timeZone;
		this.ip = ip;
	}

	private Locale locale;

	/**
	 * 获取服务器端国际化区域
	 *
	 * @return 服务器端国际化区域
	 */
	public Locale getLocale() {
		return locale;
	}

	private TimeZone timeZone;

	/**
	 * 获取服务器端时区
	 *
	 * @return 服务器端时区
	 */
	public TimeZone getTimeZone() {
		return timeZone;
	}

	private String ip;

	/**
	 * 获取服务器端IP
	 *
	 * @return 服务器端IP
	 */
	public String getIP() {
		return ip;
	}

}
